package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 结构信息对象 ar_struct
 * 
 * @author ruoyi_ln
 * @date 2022-03-01
 */
public class ArStruct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 分类编号 */
    @Excel(name = "分类编号")
    private String sortNo;

    /** 结构名称 */
    @Excel(name = "结构名称")
    private String structName;

    /** 结构编码 */
    @Excel(name = "结构编码")
    private String structCode;

    /** 是否启用(0：关闭；1：启用) */
    @Excel(name = "是否启用(0：关闭；1：启用)")
    private String isOpen;

    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;

    public void setRecNo(String recNo) 
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setSortNo(String sortNo) 
    {
        this.sortNo = sortNo;
    }

    public String getSortNo() 
    {
        return sortNo;
    }
    public void setStructName(String structName) 
    {
        this.structName = structName;
    }

    public String getStructName() 
    {
        return structName;
    }
    public void setStructCode(String structCode) 
    {
        this.structCode = structCode;
    }

    public String getStructCode() 
    {
        return structCode;
    }
    public void setIsOpen(String isOpen) 
    {
        this.isOpen = isOpen;
    }

    public String getIsOpen() 
    {
        return isOpen;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("sortNo", getSortNo())
            .append("structName", getStructName())
            .append("structCode", getStructCode())
            .append("isOpen", getIsOpen())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
